import request from '@/utils/request.js'; // 封装的request.js文件的位置
// 获取取餐列表
export const takeFoodList = (data)=>{
	return request(`/orderInfo/orderInfo/takeFoodList`, 'POST',data,"application/x-www-form-urlencoded")
}
// 取餐明细
export const takeFoodDetail = (data)=>{
	return request(`/orderInfo/orderInfo/takeFoodDetail`,"POST",data,"application/x-www-form-urlencoded")
}
// 取餐提交
// 
export const takeFood = (data)=>{
	return request(`/orderInfo/orderInfo/takeFood`,"POST",data,"application/x-www-form-urlencoded")
}
//订餐发放列表
export const distributeFoodList = (data)=>{
	return request(`/orderInfo/orderInfo/distributeFoodList`,"POST",data,"application/x-www-form-urlencoded")
}

// 订餐发放明细
export const distributeFoodDetail = (data)=>{
	return request(`/orderInfo/orderInfo/distributeFoodDetail`,"POST",data,"application/x-www-form-urlencoded")
}
// 订餐发放
export const distributeFood = (data)=>{
	return request(`/orderInfo/orderInfo/distributeFood`,"POST",data,"application/x-www-form-urlencoded")
}

// 订餐取消发放
export const cancelDistributeFood = (data)=>{
	return request(`/orderInfo/orderInfo/cancelDistributeFood`,"POST",data,"application/x-www-form-urlencoded")
}
